<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>InfAdoptedUser</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.0">
<link rel="home" href="index.html" title="libinfinity-0.4 Reference Manual">
<link rel="up" href="ch03.html" title="Libinfinity's adOPTed implementation">
<link rel="prev" href="InfAdoptedSplitOperation.html" title="InfAdoptedSplitOperation">
<link rel="next" href="libinfinity-0.4-InfAdoptedStateVector.html" title="InfAdoptedStateVector">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="InfAdoptedSplitOperation.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch03.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libinfinity-0.4 Reference Manual</th>
<td><a accesskey="n" href="libinfinity-0.4-InfAdoptedStateVector.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#InfAdoptedUser.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#InfAdoptedUser.description" class="shortcut">Description</a>
                   | 
                  <a href="#InfAdoptedUser.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#InfAdoptedUser.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry" title="InfAdoptedUser">
<a name="InfAdoptedUser"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="InfAdoptedUser.top_of_page"></a>InfAdoptedUser</span></h2>
<p>InfAdoptedUser</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="InfAdoptedUser.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">                    <a class="link" href="InfAdoptedUser.html#InfAdoptedUser-struct" title="InfAdoptedUser">InfAdoptedUser</a>;
                    <a class="link" href="InfAdoptedUser.html#InfAdoptedUserClass" title="InfAdoptedUserClass">InfAdoptedUserClass</a>;
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="InfAdoptedUser.html#inf-adopted-user-get-component" title="inf_adopted_user_get_component ()">inf_adopted_user_get_component</a>      (<em class="parameter"><code><a class="link" href="InfAdoptedUser.html" title="InfAdoptedUser"><span class="type">InfAdoptedUser</span></a> *user</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> id</code></em>);
<a class="link" href="libinfinity-0.4-InfAdoptedStateVector.html#InfAdoptedStateVector" title="InfAdoptedStateVector"><span class="returnvalue">InfAdoptedStateVector</span></a> * <a class="link" href="InfAdoptedUser.html#inf-adopted-user-get-vector" title="inf_adopted_user_get_vector ()">inf_adopted_user_get_vector</a>     (<em class="parameter"><code><a class="link" href="InfAdoptedUser.html" title="InfAdoptedUser"><span class="type">InfAdoptedUser</span></a> *user</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="InfAdoptedUser.html#inf-adopted-user-set-vector" title="inf_adopted_user_set_vector ()">inf_adopted_user_set_vector</a>         (<em class="parameter"><code><a class="link" href="InfAdoptedUser.html" title="InfAdoptedUser"><span class="type">InfAdoptedUser</span></a> *user</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libinfinity-0.4-InfAdoptedStateVector.html#InfAdoptedStateVector" title="InfAdoptedStateVector"><span class="type">InfAdoptedStateVector</span></a> *vec</code></em>);
<a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="returnvalue">InfAdoptedRequestLog</span></a> * <a class="link" href="InfAdoptedUser.html#inf-adopted-user-get-request-log" title="inf_adopted_user_get_request_log ()">inf_adopted_user_get_request_log</a> (<em class="parameter"><code><a class="link" href="InfAdoptedUser.html" title="InfAdoptedUser"><span class="type">InfAdoptedUser</span></a> *user</code></em>);
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="InfAdoptedUser.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----<a class="link" href="InfUser.html" title="InfUser">InfUser</a>
         +----InfAdoptedUser
</pre>
</div>
<div class="refsect1" title="Properties">
<a name="InfAdoptedUser.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="InfAdoptedUser.html#InfAdoptedUser--request-log" title='The "request-log" property'>request-log</a>"              <a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a>*  : Read / Write / Construct Only
  "<a class="link" href="InfAdoptedUser.html#InfAdoptedUser--vector" title='The "vector" property'>vector</a>"                   <a class="link" href="libinfinity-0.4-InfAdoptedStateVector.html#InfAdoptedStateVector" title="InfAdoptedStateVector"><span class="type">InfAdoptedStateVector</span></a>*  : Read / Write
</pre>
</div>
<div class="refsect1" title="Description">
<a name="InfAdoptedUser.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" title="Details">
<a name="InfAdoptedUser.details"></a><h2>Details</h2>
<div class="refsect2" title="InfAdoptedUser">
<a name="InfAdoptedUser-struct"></a><h3>InfAdoptedUser</h3>
<pre class="programlisting">typedef struct _InfAdoptedUser InfAdoptedUser;</pre>
<p>
<a class="link" href="InfAdoptedUser.html" title="InfAdoptedUser"><span class="type">InfAdoptedUser</span></a> is an opaque data type. You should only access it
via the public API functions.
</p>
</div>
<hr>
<div class="refsect2" title="InfAdoptedUserClass">
<a name="InfAdoptedUserClass"></a><h3>InfAdoptedUserClass</h3>
<pre class="programlisting">typedef struct {
} InfAdoptedUserClass;
</pre>
<p>
This structure does not contain any public fields.
</p>
</div>
<hr>
<div class="refsect2" title="inf_adopted_user_get_component ()">
<a name="inf-adopted-user-get-component"></a><h3>inf_adopted_user_get_component ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               inf_adopted_user_get_component      (<em class="parameter"><code><a class="link" href="InfAdoptedUser.html" title="InfAdoptedUser"><span class="type">InfAdoptedUser</span></a> *user</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> id</code></em>);</pre>
<p>
Returns the amount of requests <em class="parameter"><code>user</code></em> is guaranteed to have processed from
the user with ID <em class="parameter"><code>id</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>user</code></em> :</span></p></td>
<td>A <a class="link" href="InfAdoptedUser.html" title="InfAdoptedUser"><span class="type">InfAdoptedUser</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>id</code></em> :</span></p></td>
<td>The component to retrieve.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The number of requests <em class="parameter"><code>user</code></em> has processed from <em class="parameter"><code>id</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_adopted_user_get_vector ()">
<a name="inf-adopted-user-get-vector"></a><h3>inf_adopted_user_get_vector ()</h3>
<pre class="programlisting"><a class="link" href="libinfinity-0.4-InfAdoptedStateVector.html#InfAdoptedStateVector" title="InfAdoptedStateVector"><span class="returnvalue">InfAdoptedStateVector</span></a> * inf_adopted_user_get_vector     (<em class="parameter"><code><a class="link" href="InfAdoptedUser.html" title="InfAdoptedUser"><span class="type">InfAdoptedUser</span></a> *user</code></em>);</pre>
<p>
Returns the current vector time of <em class="parameter"><code>user</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>user</code></em> :</span></p></td>
<td>A <a class="link" href="InfAdoptedUser.html" title="InfAdoptedUser"><span class="type">InfAdoptedUser</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The current vector time of <em class="parameter"><code>user</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_adopted_user_set_vector ()">
<a name="inf-adopted-user-set-vector"></a><h3>inf_adopted_user_set_vector ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                inf_adopted_user_set_vector         (<em class="parameter"><code><a class="link" href="InfAdoptedUser.html" title="InfAdoptedUser"><span class="type">InfAdoptedUser</span></a> *user</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libinfinity-0.4-InfAdoptedStateVector.html#InfAdoptedStateVector" title="InfAdoptedStateVector"><span class="type">InfAdoptedStateVector</span></a> *vec</code></em>);</pre>
<p>
Updates the state vector of <em class="parameter"><code>user</code></em>. This function takes ownership of <em class="parameter"><code>vec</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>user</code></em> :</span></p></td>
<td>A <a class="link" href="InfAdoptedUser.html" title="InfAdoptedUser"><span class="type">InfAdoptedUser</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>vec</code></em> :</span></p></td>
<td>A <a class="link" href="libinfinity-0.4-InfAdoptedStateVector.html#InfAdoptedStateVector" title="InfAdoptedStateVector"><span class="type">InfAdoptedStateVector</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_adopted_user_get_request_log ()">
<a name="inf-adopted-user-get-request-log"></a><h3>inf_adopted_user_get_request_log ()</h3>
<pre class="programlisting"><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="returnvalue">InfAdoptedRequestLog</span></a> * inf_adopted_user_get_request_log (<em class="parameter"><code><a class="link" href="InfAdoptedUser.html" title="InfAdoptedUser"><span class="type">InfAdoptedUser</span></a> *user</code></em>);</pre>
<p>
Returns the request log of <em class="parameter"><code>user</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>user</code></em> :</span></p></td>
<td>A <a class="link" href="InfAdoptedUser.html" title="InfAdoptedUser"><span class="type">InfAdoptedUser</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> User's <a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" title="Property Details">
<a name="InfAdoptedUser.property-details"></a><h2>Property Details</h2>
<div class="refsect2" title='The "request-log" property'>
<a name="InfAdoptedUser--request-log"></a><h3>The <code class="literal">"request-log"</code> property</h3>
<pre class="programlisting">  "request-log"              <a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a>*  : Read / Write / Construct Only</pre>
<p>Request log of this user.</p>
</div>
<hr>
<div class="refsect2" title='The "vector" property'>
<a name="InfAdoptedUser--vector"></a><h3>The <code class="literal">"vector"</code> property</h3>
<pre class="programlisting">  "vector"                   <a class="link" href="libinfinity-0.4-InfAdoptedStateVector.html#InfAdoptedStateVector" title="InfAdoptedStateVector"><span class="type">InfAdoptedStateVector</span></a>*  : Read / Write</pre>
<p>The state this user is currently at.</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.15</div>
</body>
</html>